﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace itCoursesHomeTask
{
    class Program
    {
        static void Main()
        {
            print("omg wtf");
            Console.WriteLine(subtraction(5, 3));
            Console.WriteLine(builtInPower(2, 5));
            Console.ReadKey();
        }
        static void print(string str) 
        {
            Console.WriteLine(str);
        }
        static int subtraction(int arg1, int arg2)
        {
            return (arg1 - arg2);
        }
        static int builtInPower(int number, int power)
        {
            int multiplier = number;
            for (int i = 1; i < power; i++)
            {
                number = number * multiplier;                
            }
            return number;
        }
    }
}
